<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="/header.jsp"></jsp:include>
<div class="container">
	<div class="row">
		<div class="offset2 span8 offset2">
			<form class="form-horizontal" action="MadeTimetableServlet" method="post">
				<fieldset>
					<legend>制定放映表</legend>
					<div class="control-group">
						<label class="control-label" for="select01">电影</label>
						<div class="controls">
							<select id="select01" name="movie">
								<c:forEach items="${ movieList }" var="movie">
									<option>${ movie.mName }</option>
								</c:forEach>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="select02">放映厅</label>
						<div class="controls">
							<select id="select02" name="hall">
								<c:forEach items="${ hallList }" var="hall">
									<option>${ hall.id }</option>
								</c:forEach>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="startTime">开始时间</label>
						<div class="controls">
							<input type="text" class="input-mini" id="startHour"
								name="startHour" />时<input type="text" class="input-mini"
								id="startMin" name="startMin" />分<input type="text"
								class="input-mini" id="startSec" name="startSec" />秒
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="createDate">日期</label>
						<div class="controls">
							<input type="text" class="input-xlarge" id="createDate"
								name="createDate" onclick="calendar.show(this);" />
						</div>
					</div>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary">添加</button>
						<a href="./index.jsp" class="btn">返回</a>
					</div>
				</fieldset>
			</form>
		</div>
	</div>
</div>
<!--/end container-->
<jsp:include page="/footer.jsp"></jsp:include>